package com.baosight.risk.service.xtzy.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

import lombok.Data;

/**
 * Table: T_XTZY_COMP_USER
 */
@Data
@ApiModel
@Table(name = "T_XTZY_COMP_USER")
public class XtzyCompUser extends BaseEntity {

    /**
     * 员工ID
     * <p>
     * Table:     T_XTZY_COMP_USER
     * Column:    USER_ID
     * Nullable:  false
     */
    @ApiModelProperty("员工ID")
    @Column(name = "USER_ID")
    private String userId;

    /**
     * 员工编码
     * <p>
     * Table:     T_XTZY_COMP_USER
     * Column:    USER_CODE
     * Nullable:  true
     */
    @ApiModelProperty("员工编码")
    @Column(name = "USER_CODE")
    private String userCode;

    /**
     * 员工姓名
     * <p>
     * Table:     T_XTZY_COMP_USER
     * Column:    USER_DESC
     * Nullable:  true
     */
    @ApiModelProperty("员工姓名")
    @Column(name = "USER_DESC")
    private String userDesc;

    /**
     * 组织ID
     * <p>
     * Table:     T_XTZY_COMP_USER
     * Column:    COMP_ID
     * Nullable:  true
     */
    @ApiModelProperty("组织ID")
    @Column(name = "COMP_ID")
    private String compId;

    /**
     * 组织编码
     * <p>
     * Table:     T_XTZY_COMP_USER
     * Column:    COMP_CODE
     * Nullable:  true
     */
    @ApiModelProperty("组织编码")
    @Column(name = "COMP_CODE")
    private String compCode;

    /**
     * 组织名称
     * <p>
     * Table:     T_XTZY_COMP_USER
     * Column:    COMP_NAME
     * Nullable:  true
     */
    @ApiModelProperty("组织名称")
    @Column(name = "COMP_NAME")
    private String compName;

    /**
     * 组织机构ID全称
     * <p>
     * Table:     T_XTZY_COMP_USER
     * Column:    PATH_CODE
     * Nullable:  true
     */
    @ApiModelProperty("组织机构ID全称")
    @Column(name = "PATH_CODE")
    private String pathCode;

    /**
     * 组织机构名称全称
     * <p>
     * Table:     T_XTZY_COMP_USER
     * Column:    PATH_NAME
     * Nullable:  true
     */
    @ApiModelProperty("组织机构名称全称")
    @Column(name = "PATH_NAME")
    private String pathName;

    /**
     * 备注
     * <p>
     * Table:     T_XTZY_COMP_USER
     * Column:    REMARK
     * Nullable:  true
     */
    @ApiModelProperty("备注")
    @Column(name = "REMARK")
    private String remark;

    /**
     * 排序
     * <p>
     * Table:     T_XTZY_COMP_USER
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
    private String rowOrder;
    private static final long serialVersionUID = 1L;
}